/**
 * Copyright 2011-2013 Brin.com
 * All rights reserved.
 * 
 * @project
 * @author Brin
 * @version 1.0
 * @data 2012-05-01
 */
package com.brin.core.base.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.support.TransactionTemplate;

/**
 * 
 * @author Brin
 *
 */
public abstract class BaseService {
	
	private TransactionTemplate transactionTemplate;

	public TransactionTemplate getTransactionTemplate() {
		return transactionTemplate;
	}
	
	@Autowired
	public void setTransactionTemplatetForAutowire(TransactionTemplate transactionTemplate) {
		this.transactionTemplate = transactionTemplate;
	}
}